﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AcesHigh
{
    class ScoreBoard
    {
        private Statistic totalStats;
        private Statistic currentStats;

        public void saveWin()
        {
            totalStats.Wins += 1;
            currentStats.Wins += 1;
            // save to registry
        }

        public void saveLoss()
        {
            totalStats.Losses += 1;
            currentStats.Losses += 1;
            // save to registry
        }

        public void reset()
        {
        }

        public Statistic getTotalStats()
        {
            if (totalStats == null)
            {
                totalStats = new Statistic();

                // get data from registry;
            }
            return totalStats;
        }

        public Statistic getCurrentStats()
        {
            if (currentStats == null)
            {
                currentStats = new Statistic();
            }
            return currentStats;
        }
    }
}
